#include "stdafx.h"
#include "JGame.h"
#include "JRender.h"
#include "JStage.h"
#include "JGraph.h"
#include "JGraphOrigin.h"

JGame::JGame():
	pCurGraphOrigin(NULL)
	, pPaneStage(NULL)
	, pRender(NULL)
{
}


JGame::~JGame()
{
	if (pRender)
	{
		delete pRender;
	}
	if (pPaneStage)
	{
		delete pPaneStage;
	}
	if (pCurGraphOrigin)
	{
		delete pCurGraphOrigin;
	}
}
